// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.forum-topic-toolbar {
  @_top: forum-topic-toolbar;

  .default-gutter-v2(-5px);
  padding-top: 5px;
  padding-bottom: 5px;

  display: flex;
  justify-content: flex-end;
  background-color: @osu-colour-b3;

  &__item {
    margin: 5px;
    display: flex;

    .@{_top}[data-title-edit="1"] & {
      display: none;
    }

    &--title-edit {
      display: none;

      .@{_top}[data-title-edit="1"] & {
        display: flex;
      }
    }
  }
}
